package com.cheyun.netsalev3.utils.api

/**
 * @author Michael
 * @date  2018/11/6 - 16:24.
 */
class ApiException(statuCode: Int, message: String,skey:String= "") {
    /**
     * 错误码
     */
    private var statuCode: Int = statuCode

    /**
     * 错误信息
     */
    private var message: String? = message

    private var skey:String? = skey;

    fun getStatuCode(): Int {
        return statuCode
    }

    fun setStatuCode(statuCode: Int) {
        this.statuCode = statuCode
    }

    fun getMessage(): String? {
        return message
    }

    fun setMessage(message: String) {
        this.message = message
    }

    fun getSkey(): String? {
        return skey
    }

    fun setSkey(skey: String) {
        this.skey = skey
    }
}